<?php 		

session_start();
$_SESSION[CAM] = false;

echo "<html><head><link type=\"text/css\" rel=\"stylesheet\" href=\"./Resources/NND.css\" /> <title> NND </title><script>
function ocultar() { document.getElementById('prefs').style.visibility = 'hidden'; 
document.getElementById('config2').style.visibility = 'hidden';
document.getElementById('config').style.visibility = 'visible';
}		  
function mostrar() { document.getElementById('prefs').style.visibility = 'visible';
document.getElementById('config').style.visibility = 'hidden';
document.getElementById('config2').style.visibility = 'visible';
 }

	
 </script></head>
<body onLoad=\"ocultar()\" />
<form name=\"logform\" id=\"logform\" action=\"NND.php\" method=\"post\"><fieldset><legend> <strong><tt>Authentication</tt></strong> </legend><center>
<br><tt>Host:</tt><br><input type=\"text\" id=\"myhost\" name=\"myhost\" maxlength=\"100\" value=\"localhost\"/> <br>
<br><tt>MySQL User:</tt><br><input type=\"text\" id=\"mysqluser\" name=\"mysqluser\" maxlength=\"30\" /> <br><br>
        <tt>MySQL Pass:</tt><br><input type=\"password\" id=\"mysqlpass\" name=\"mysqlpass\" maxlength=\"30\" /> 
        
        <BR><BR><tt><input type=\"submit\" name=\"ingresar\" id=\"ingresar\" value=\"Proceed\" />&nbsp;
<input type=\"button\" name=\"config\" id=\"config\" value=\"Configure\" onclick=\"mostrar()\" />
<input type=\"button\" name=\"config2\" id=\"config2\" value=\"Configure\" onclick=\"ocultar()\" /></tt>";
echo "<BR><BR></fieldset></center>";
echo "
<div id=\"prefs\" name=\"prefs\" />
<tt><fieldset><legend><b>Advanced Options</b></legend>
<input type=\"checkbox\" name=\"checkes\" id=\"checkes\" value=\"Trafico\" checked/> I/O Traffic <BR>
<input type=\"checkbox\" name=\"checkphp\" value=\"PHP\" checked/> Check PHP <BR>
<input type=\"checkbox\" name=\"checksql\" value=\"MySQL\" checked/> Check MySQL <BR>
<input type=\"checkbox\" name=\"checkport\" value=\"Puertos\" checked/> Check Ports <BR>
<tt><font color=\"red\"><b>This can take up to 30 seconds...</b></font></tt>
</fieldset>
</tt>
</div></form>
                </body></html>";

?>
